<template>
    <div class="center">
    <table width="837" border="0" cellpadding="0" cellspacing="0" style="width:627.75pt;border-collapse:collapse;table-layout:fixed;">
   <colgroup><col width="54" style="mso-width-source:userset;mso-width-alt:1728;">
   <col width="63" style="mso-width-source:userset;mso-width-alt:2016;">
   <col width="71" style="mso-width-source:userset;mso-width-alt:2272;">
   <col width="151" style="mso-width-source:userset;mso-width-alt:4832;">
   <col width="178" style="mso-width-source:userset;mso-width-alt:5696;">
   <col width="167" style="mso-width-source:userset;mso-width-alt:5344;">
   <col width="81" style="mso-width-source:userset;mso-width-alt:2592;">
   <col width="72" style="width:54.00pt;">
   </colgroup><tbody><tr height="19" style="height:14.25pt;">
    <td class="xl65" height="38" width="684" colspan="6" rowspan="2" style="height:28.50pt;width:513.00pt;border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;text-align:center" x:str="">电气倒闸操作票</td>
    <td class="xl65" width="153" colspan="2" rowspan="2" style="width:114.75pt;border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;"></td>
   </tr>
   <tr height="19" style="height:14.25pt;">
   </tr><tr height="19" style="height:14.25pt;">
    <td class="xl66" height="19" style="height:14.25pt;" x:str="">单位</td>
    <td class="xl65" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;">{{this.bb.orgName}}</td>
    <td class="xl66"></td>
    <td class="xl66" x:str="">编号</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;">{{this.bb.ticketId}}</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl65" height="19" colspan="2" style="height:14.25pt;border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">操作开始时间</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;">{{this.bb.startDate1}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">终结时间</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;">{{this.bb.endDate2}}</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl67" height="38" colspan="8" rowspan="2" style="height:28.50pt;border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">操作任务：{{this.bb.workDetail}}</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
   </tr><tr height="19" style="height:14.25pt;">
    <td class="xl65" height="19" colspan="2" style="height:14.25pt;border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">执行情况</td>
    <td class="xl65" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">序号</td>
    <td class="xl65" colspan="3" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">操作项目</td>
    <td class="xl65" colspan="2" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">时间</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl66" height="19" style="height:14.25pt;" x:str="">模拟</td>
    <td class="xl66" x:str="">实际</td>
   </tr>
   <tr height="19" style="height:14.25pt;">

    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate1}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate1" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate1}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate1" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">1</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem1}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem1" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate1}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust"  v-model="operateDate1"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">

    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate2}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate2" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate2}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate2" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">2</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem2}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem2" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate2}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate2"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    

    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate3}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate3" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate3}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate3" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">3</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem3}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem3" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
   <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate3}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate3"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">

    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate4}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate4" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate4}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate4" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">4</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem4}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem4" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate4}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate4"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    
    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate5}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate5" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate5}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate5" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">5</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem5}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem5" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate5}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate5"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    
    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate6}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate6" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate6}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate6" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">6</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem6}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem6" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate6}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate6"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    
    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate7}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate7" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate7}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate7" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">7</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem7}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem7" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate7}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate7"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
   
    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate8}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate8" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate8}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate8" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">8</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem8}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem8" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate8}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate8"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    
    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate9}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate9" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate9}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate9" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">9</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem9}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem9" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate9}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate9"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    
    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate10}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate10" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate10}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate10" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">10</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem10}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem10" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate10}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate10"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
   
    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate11}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate11" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate11}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate11" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">11</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem11}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem11" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate11}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate11"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    
    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate12}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate12" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate12}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate12" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">12</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem12}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem12" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate12}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate12"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    
    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate13}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate13" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate13}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate13" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">13</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem13}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem13" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
   <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate13}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate13"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    
    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate14}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate14" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate14}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate14" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">14</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem14}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem14" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate14}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate14"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    
    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate15}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate15" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate15}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate15" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">15</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem15}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem15" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate15}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate15"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    
    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate16}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate16" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate16}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate16" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">16</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem16}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem16" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate16}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate16"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    
    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate17}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate17" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate17}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate17" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">17</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem17}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem17" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate17}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate17"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    
    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate18}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate18" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate18}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate18" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">18</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem18}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem18" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate18}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate18"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    
    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate19}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate19" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate19}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate19" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">19</td>
   <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem19}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem19" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
   <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate19}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate19"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
   
    <td class="xl66" height="19" style="height:14.25pt;" v-if="!guar">{{this.bb.ifSimulate20}}</td>
    <td class="xl66" height="19" style="height:14.25pt;" v-if="guar"><j-dict-select-tag v-model="ifSimulate20" dictCode="opr_tic"  style="width:50px;"/></td>
    <td class="xl66" v-if="!guar">{{this.bb.ifModulate20}}</td>
    <td class="xl66" v-if="guar"> <j-dict-select-tag v-model="ifModulate20" dictCode="opr_tic"  style="width:50px;"/></td>

    <td class="xl66" align="right" x:num="">20</td>
   <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.operateItem20}}</td>
    <td class="xl68" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea v-model="operateItem20" placeholder="请输入执行情况（由工作人员填写）" :auto-size="{ minRows: 2, maxRows: 2 }"/>
    </td>
   <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!guar">{{this.bb.operateDate1}}</td>
    <td class="xl65" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="guar">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="operateDate1"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl67" height="38" colspan="8" rowspan="2" style="height:28.50pt;border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">备注：</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
   </tr><tr height="19" style="height:14.25pt;">
    <td class="xl66" height="19" style="height:14.25pt;" x:str="">操作人</td>
    <td class="xl66" v-if="!draft">{{this.bb.operatePerson}}</td>
    <td class="xl66" v-if="draft">
        <a-input v-model="operatePerson"></a-input>
    </td>
    <td class="xl66" x:str="">监护人</td>
    <td class="xl66" v-if="!guar">{{this.bb.protectPerson}}</td>
    <td class="xl66" v-if="guar">
        <a-input v-model="protectPerson"></a-input>
    </td>
    <td class="xl66" x:str="">值长或者班长</td>
    <td class="xl66" v-if="!zbz">{{this.bb.ondutyPerson}}</td>
    <td class="xl66" v-if="zbz">
        <a-input v-model="ondutyPerson"></a-input>
    </td>
    <td class="xl66" x:str="">场长/专工</td>
    <td class="xl66" v-if="!cz">{{this.bb.leaderSign1}}</td>
    <td class="xl66" v-if="cz">
        <a-input v-model="leaderSign1"></a-input>
    </td>
   </tr>
  </tbody></table>
    </div>
</template>
<script>
import JDate from '@/components/jeecg/JDate.vue'
import JDictSelectTag from '@/components/dict/JDictSelectTag.vue'
import store from '@/store'
import{Time} from '@/utils/time'
import { httpAction, getAction,postAction,putAction } from '@/api/manage'
export default {
     components: {
      JDate,
      JDictSelectTag,
    },
    data(){
        return{
            draft:false,
            operateItem1:'',
            operateItem2:'',
            operateItem3:'',
            operateItem4:'',
            operateItem5:'',
            operateItem6:'',
            operateItem7:'',
            operateItem8:'',
            operateItem9:'',
            operateItem10:'',
            operateItem11:'',
            operateItem12:'',
            operateItem13:'',
            operateItem14:'',
            operateItem15:'',
            operateItem16:'',
            operateItem17:'',
            operateItem18:'',
            operateItem19:'',
            operateItem20:'',
            operatePerson:store.getters.userInfo.realname,
            guar:false,
            ifSimulate1:'',
            ifSimulate2:'',
            ifSimulate3:'',
            ifSimulate4:'',
            ifSimulate5:'',
            ifSimulate6:'',
            ifSimulate7:'',
            ifSimulate8:'',
            ifSimulate9:'',
            ifSimulate10:'',
            ifSimulate11:'',
            ifSimulate12:'',
            ifSimulate13:'',
            ifSimulate14:'',
            ifSimulate15:'',
            ifSimulate16:'',
            ifSimulate17:'',
            ifSimulate18:'',
            ifSimulate19:'',
            ifSimulate20:'',
            ifModulate1:'',
            ifModulate2:'',
            ifModulate3:'',
            ifModulate4:'',
            ifModulate5:'',
            ifModulate6:'',
            ifModulate7:'',
            ifModulate8:'',
            ifModulate9:'',
            ifModulate10:'',
            ifModulate11:'',
            ifModulate12:'',
            ifModulate13:'',
            ifModulate14:'',
            ifModulate15:'',
            ifModulate16:'',
            ifModulate17:'',
            ifModulate18:'',
            ifModulate19:'',
            ifModulate20:'',
            operateDate1:'',
            operateDate2:'',
            operateDate3:'',
            operateDate4:'',
            operateDate5:'',
            operateDate6:'',
            operateDate7:'',
            operateDate8:'',
            operateDate9:'',
            operateDate10:'',
            operateDate11:'',
            operateDate12:'',
            operateDate13:'',
            operateDate14:'',
            operateDate15:'',
            operateDate16:'',
            operateDate17:'',
            operateDate18:'',
            operateDate19:'',
            operateDate20:'',
            protectPerson:store.getters.userInfo.realname,
            endDate2:Time(),
            zbz:false,
            ondutyPerson:store.getters.userInfo.realname,
            cz:false,
            leaderSign1:store.getters.userInfo.realname,

        }
    },
    props:['bb'], 
    methods:{
        refresh(){
            return this.bb.type
        },
        back(){
            var obj = {}
            if(this.draft == true){
                obj = {
                    id:this.bb.id,
                    ticketId:this.bb.ticketId,
                    operateItem1:this.operateItem1,
                    operateItem2:this.operateItem2,
                    operateItem3:this.operateItem3,
                    operateItem4:this.operateItem4,
                    operateItem5:this.operateItem5,
                    operateItem6:this.operateItem6,
                    operateItem7:this.operateItem7,
                    operateItem8:this.operateItem8,
                    operateItem9:this.operateItem9,
                    operateItem10:this.operateItem10,
                    operateItem11:this.operateItem11,
                    operateItem12:this.operateItem12,
                    operateItem13:this.operateItem13,
                    operateItem14:this.operateItem14,
                    operateItem15:this.operateItem15,
                    operateItem16:this.operateItem16,
                    operateItem17:this.operateItem17,
                    operateItem18:this.operateItem18,
                    operateItem19:this.operateItem19,
                    operateItem20:this.operateItem20,
                    startDate1:Time(),
                    operatePerson:this.operatePerson

                }
            }else if(this.guar == true){
                obj = {
                    id:this.bb.id,
                    ticketId:this.bb.ticketId,
                     ifSimulate1:this.ifSimulate1,
                    ifSimulate2:this.ifSimulate2,
                    ifSimulate3:this.ifSimulate3,
                    ifSimulate4:this.ifSimulate4,
                    ifSimulate5:this.ifSimulate5,
                    ifSimulate6:this.ifSimulate6,
                    ifSimulate7:this.ifSimulate7,
                    ifSimulate8:this.ifSimulate8,
                    ifSimulate9:this.ifSimulate9,
                    ifSimulate10:this.ifSimulate10,
                    ifSimulate11:this.ifSimulate11,
                    ifSimulate12:this.ifSimulate12,
                    ifSimulate13:this.ifSimulate13,
                    ifSimulate14:this.ifSimulate14,
                    ifSimulate15:this.ifSimulate15,
                    ifSimulate16:this.ifSimulate16,
                    ifSimulate17:this.ifSimulate17,
                    ifSimulate18:this.ifSimulate18,
                    ifSimulate19:this.ifSimulate19,
                    ifSimulate20:this.ifSimulate20,
                    ifModulate1:this.ifModulate1,
                    ifModulate2:this.ifModulate2,
                    ifModulate3:this.ifModulate3,
                    ifModulate4:this.ifModulate4,
                    ifModulate5:this.ifModulate5,
                    ifModulate6:this.ifModulate6,
                    ifModulate7:this.ifModulate7,
                    ifModulate8:this.ifModulate8,
                    ifModulate9:this.ifModulate9,
                    ifModulate10:this.ifModulate10,
                    ifModulate11:this.ifModulate11,
                    ifModulate12:this.ifModulate12,
                    ifModulate13:this.ifModulate13,
                    ifModulate14:this.ifModulate14,
                    ifModulate15:this.ifModulate15,
                    ifModulate16:this.ifModulate16,
                    ifModulate17:this.ifModulate17,
                    ifModulate18:this.ifModulate18,
                    ifModulate19:this.ifModulate19,
                    ifModulate20:this.ifModulate20,
                    operateDate1:this.operateDate1,
                    operateDate2:this.operateDate2,
                    operateDate3:this.operateDate3,
                    operateDate4:this.operateDate4,
                    operateDate5:this.operateDate5,
                    operateDate6:this.operateDate6,
                    operateDate7:this.operateDate7,
                    operateDate8:this.operateDate8,
                    operateDate9:this.operateDate9,
                    operateDate10:this.operateDate10,
                    operateDate11:this.operateDate11,
                    operateDate12:this.operateDate12,
                    operateDate13:this.operateDate13,
                    operateDate14:this.operateDate14,
                    operateDate15:this.operateDate15,
                    operateDate16:this.operateDate16,
                    operateDate17:this.operateDate17,
                    operateDate18:this.operateDate18,
                    operateDate19:this.operateDate19,
                    operateDate20:this.operateDate20,
                    protectPerson:store.getters.userInfo.realname,
                    endDate2:Time()
                }
            }else if(this.zbz == true){
                obj = {
                     id:this.bb.id,
                    ticketId:this.bb.ticketId,
                    ondutyPerson:this.ondutyPerson,
                }
            }else if(this.cz == true){
              obj = {
                  id:this.bb.id,
                  ticketId:this.bb.ticketId,
                  leaderSign1:this.leaderSign1,
              }
            }
            return obj
        },
    },
    mounted(){
        console.log('bb',this.bb)

        var params={
            userid:store.getters.userInfo.id
        }
             getAction('/sys/user/queryUserRole',params).then(res=>{
            console.log('dengji',res)
            if(res.result[0] == '1364736776864395266'){ //负责人（执行人）
                    if(this.bb.startDate1 == null){
                        this.draft = true
                    }
            }else if(res.result[0] == "1376346723403657218"){ //监护人
                if(this.bb.protectPerson == null && this.bb.startDate1 != null){
                        this.guar = true
                    }
            }else if(res.result[0] == '1364736688620433410') {//值班长
                if(this.bb.protectPerson != null && this.bb.ondutyPerson == null){
                    this.zbz = true
                }
            }else if(res.result[0] == "1364736835911806978"){ //厂长
                if(this.bb.ondutyPerson != null && this.bb.leaderSign1 == null){
                    this.cz = true
                }
            }
            })
        
        
        
       
    }
}
</script>
<style scoped>
td{
    padding-top: 1px;
    padding-right: 1px;
    padding-left: 1px;
    vertical-align: middle;
    white-space: nowrap;
    color: windowtext;
    font-size: 12pt;
    font-weight: 400;
    font-style: normal;
    font-family: 宋体;
    text-decoration: none;
    border: 1px solid #000;
     }
.center{
    width:837px;
     background-color: #E5EDF0 !important;
     } 

</style>